package com.blog.Bard.base.service;

import java.util.List;
import java.util.Map;

import com.blog.Bard.base.pojo.UrlMatching;
import com.blog.Bard.common.service.BaseService;
import com.blog.Bard.common.util.Pager;

public interface UrlMatchingService extends BaseService{
	
	/**
	 * 查询所有匹配路径（不受过滤验证的路径）
	 * @return
	 * @throws Exception
	 */
	List<UrlMatching> findAll() throws Exception;

	/**
	 * 	分页
	 * @param params
	 * @return
	 * @throws Exception
	 */
	Pager pageList(Map<String, Object> params) throws Exception;
	
	/**
	 * 	删除
	 * @param id
	 * @throws Exception
	 */
	void del(Integer id) throws Exception;
	
	/**
	 * 	保存
	 * @param t
	 * @throws Exception
	 */
	void save(UrlMatching t) throws Exception;

	/**
	 * 	根据Id查找
	 * @param id
	 * @return
	 * @throws Exception
	 */
	UrlMatching getOne(Integer id)throws Exception;

}
